package org.leon.service;

import org.leon.mybatis.dao.UserAnnotationDao;
import org.leon.mybatis.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.io.Serializable;
import java.util.List;

/**
 * Created by HuGuodong on 2017/5/4.
 */
@Service("userService")
public class UserServiceImpl implements UserService, Serializable {

    @Autowired
    private UserAnnotationDao userDao;

    public List<User> findAll() {
        return userDao.findAllUser();
    }
}
